import axios from '../axios'

//登录验证
export function login(username, password) {
   return axios.post('/api/auth/login', {
      name:username,
      password:password
   })
}
export function logout() {
   return axios.post('/api/auth/logout')
}